home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / gnans100.zip / Imakefile < prev    next >
Makefile  |  1992-07-16  |  2KB  |  69 lines

  1. /*
  2.  Copyright (C) 1992 Bengt Martensson and Institute for Dynamical Systems.
  3.  
  4. This file is part of Gnans.
  5.  
  6. Gnans is free software; you can redistribute it and/or modify it under
  7. the terms of the GNU General Public License as published by the Free
  8. Software Foundation; either version 2, or (at your option) any later
  9. version.
  10.  
  11. Gnans is distributed in the hope that it will be useful, but WITHOUT
  12. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14. for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with Gnans; see the file COPYING.  If not, write to the 
  18. Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
  19.  
  20. /* $Id: Imakefile,v 1.3 1992/07/16 18:13:33 bengt Exp bengt $ */
  21.  
  22. /*
  23.  * The only funny thing about this Imakefile is that different compiling
  24.  * options are used in different directories. Heavyer optimization in
  25.  * numerical routines, no warnings in other peoples cone.
  26.  */
  27.  
  28. #include "config/gnans.imake"
  29. #define IHaveSubdirs
  30. #define PassCDebugFlags
  31. /*#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'*/
  32.  
  33. SUBDIRS =    config gnanslib supportlib FortranLibDirectory LsodeLibDirectory translator src
  34.  
  35. MakeSubdirs($(SUBDIRS))
  36. DependSubdirs($(SUBDIRS))
  37.  
  38. World::
  39.     @echo ""
  40.     @echo "Building Gnans Version " GnansVersion
  41.     @echo ""
  42.     @echo "##############################################################"
  43.     @echo "# Did you remember to check the configuration parameters in  #"
  44.     @echo "# the directory ./config??                                   #"
  45.     @echo "##############################################################"
  46.     @echo ""
  47.     @date
  48.     @echo ""
  49.     $(MAKE) $(MFLAGS) Makefile
  50.     $(MAKE) $(MFLAGS) Makefiles
  51.     $(MAKE) $(MFLAGS) clean
  52.     $(MAKE) $(MFLAGS) depend
  53.     $(MAKE) $(MFLAGS) $(WORLDOPTS)
  54.     @echo ""
  55.     @date
  56.     @echo ""
  57.     @echo "Build of Gnans complete."
  58.  
  59. Everything::
  60.     @date
  61.     $(MAKE) $(MFLAGS) Makefile
  62.     $(MAKE) $(MFLAGS) Makefiles
  63.     $(MAKE) $(MFLAGS) depend
  64.     $(MAKE) $(MFLAGS)
  65.     @echo ""
  66.     @date
  67.     @echo ""
  68.     @echo "Build of Gnans complete."
  69.